<?php
class Admin extends Controller
{

    function index()
    {
        $data['main_content'] = 'admin_form';


        $this->load->view('includes/template', $data);

        //   $this->load-> library ('calendario');

    }

    function imprimir_dato()
    {
        $this->load->model('client_model');
       $clientes = $this->client_model->listar_datos_cliente();

      echo '{"aaData":';
      echo json_encode($clientes);
        echo "}";
    }

}
